interface PhDoneResult{
    done:(fn:(...a:any[])=>void)=>void
}
export interface PhDatepickerOpt{
    mode:string,
    left:number,
    top:number,
    width:number,
    height:number,
    format?:string,
    start?:string,
    end?:string,
    theme?:string,
    weekText?:string[],
    importants?:Array<{title:string|number,md:string,desc:string}>,
    clear?:boolean,
    now?:boolean,
    [k:string]:any
}

export interface PhDatepicker{
    show:(c?:string,opt:PhDatepickerOpt)=>PhDoneResult
}